Method and apparatus for processing messages in a social network

ABSTRACT

In one embodiment, the present invention is a method and apparatus for knowledge generation and deployment in a distributed network. In one embodiment, a method for processing messages in a social network includes receiving a new message from a first node in the network, the new message including a query, providing the first node with an answer to the query, if the answer is located in a repository, and initiating generation of the answer, if the answer is not located in the repository.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 11/671,943, filed Feb. 6, 2007, which in turn claims the benefit of U.S. Provisional Patent Application No. 60/773,722, filed Feb. 14, 2006. Both of these applications are herein incorporated by reference in their entireties.

REFERENCE TO GOVERNMENT FUNDING

This invention was made with Government support under Contract No. NBCHD030010, awarded by the Department of the Interior, National Business Center. The Government has certain rights in this invention.

FIELD OF THE INVENTION

The present invention relates generally to distributed networks and relates more particularly to the generation and deployment of knowledge in distributed networks.

BACKGROUND OF THE INVENTION

The emergence of the World Wide Web has brought to attention yet another “web”—the social web. While social sciences have extensively studied various aspects of societies and social interactions, current models for studying social networks are not rich enough to analyze several important social phenomena.

One important emerging class of problems in social networks involves relying on real people to answer specific questions. Within this context, one can assume that any two nodes (people) in a social network are connected by short paths (i.e., the so-called “six degrees of separation” property). Moreover, expertise tends to be distributed throughout a social network such that, for any query, there is a node within the network for whom the answer to the query is easily at-hand. Thus, in general, there exists, for most queries, a node on a short path from the query originator who has a good answer to the query. The problem, however, is that while a short path to a query's answer may exist within the social network, that path is typically hard to identify. Moreover, existing applications for searching for content do not provide adequate means for generating new, socially mediated content.

Thus, there is a need in the art for a method and apparatus for knowledge generation and deployment in distributed social networks.

SUMMARY OF THE INVENTION

In one embodiment, the present invention is a method and apparatus for knowledge generation and deployment in a distributed network. In one embodiment, a method for processing messages in a social network includes receiving a new message from a first node in the network, the new message including a query, providing the first node with an answer to the query, if the answer is located in a repository, and routing the message to a first set of relevant nodes for generation of the answer. The nodes who receive the message may respond to the message by providing an answer, by forwarding the message to a second set of nodes to generate the answer, by expressing interest in validating future answers or by asking the first node for further clarification.

BRIEF DESCRIPTION OF THE DRAWINGS

The teaching of the present invention can be readily understood by considering the following detailed description in conjunction with the accompanying drawings, in which:

FIG. 1 is a schematic diagram illustrating an exemplary social network within which the present invention may be implemented;

FIG. 2 is a flow diagram illustrating one embodiment of a method for learning the expertise measures of nodes in a social network, according to the present invention;

FIG. 3 is a flow diagram illustrating one embodiment of a method for routing messages and learning communication patterns in a distributed network, according to the present invention;

FIG. 4 is a flow diagram illustrating one embodiment of a method for processing a message, according to the present invention;

FIG. 5 is a flow diagram illustrating one embodiment of a method for determining a first node's referral rank, according to the present invention;

FIG. 6 is a schematic diagram illustrating an exemplary network;

FIG. 7 is a high level block diagram of the message routing method that is implemented using a general purpose computing device.

To facilitate understanding, identical reference numerals have been used, where possible, to designate identical elements that are common to the figures.

DETAILED DESCRIPTION

In one embodiment, the present invention relates to a method and apparatus for knowledge generation and deployment in distributed networks, such as networks that are internal to organizations and networks configured over the World Wide Web. Embodiments of the invention learn, and then exploit, patterns of communication (e.g., as expressed in linkages and message contents) in an underlying social network in order to improve searching capabilities within the network. Moreover, the present invention provides a means of validating the answers generated in response to a query posed within a social network.

Thus, embodiments of the present invention provide an automated means for users to perform a social search. A core idea of social search is to “ask someone who knows”. This differs from other popular methods of searching for information, such as using Internet search engines, in at least three significant ways. First, rather than just relying on algorithms to find relevant existing information, social search relies on real people answering specific questions. As such, new content may be generated in response to a query. Second, rather than simply modeling existing content, social search models people in the social web (e.g., the users' expertise, response rates on various topics, etc.), where each person is considered a potential content generator. Third, the system also encourages content generation, which allows users to tag or modify a query to help others in locating more relevant information to a given search.

FIG. 1 is a schematic diagram illustrating an exemplary social network 100 within which the present invention may be implemented. As illustrated, the network 100 comprises a plurality of interconnected nodes 102 ₁-102 _(n) (hereinafter collectively referred to as “nodes 102”), such that the set, n, of nodes N={N_(i)}_(i=1) ^(n). As used herein, the term “node” refers to any entity that is reachable and capable of performing functions including query answering and validation and content generation (e.g., an individual person, a community, a web service, etc.).

Each node 102 is associated with a profile. The profile is available locally at each node 102. The profile of the i^(th) node 102 comprises a set of three parameters: (1) an expertise measure, E_(i), represented by probability distributions P(T_(k)|N_(i)) over a global topic set T={T_(k)}_(k=1) ^(t) (where each individual topic, T_(k), is, itself, a probability distribution over keyword identifiers, w, and an identifier represents any one or more of a variety of entities, including message keywords or meta-tags, entries in an ontology or the like); (2) a referral rank, F_(i), that measures the general affinity of other nodes 102 to route messages to the i^(th) node (computed, for example, by iteratively summing the weighted contributions from the scores of the referring nodes); and (3) a response score, R_(i), which is a function of the response rate and response accuracy of the i^(th) node to incoming messages.

In one embodiment, the referral rank, F_(i), or the response score, R_(i), is topic- or subject-based. That is, the referral rank, F_(i), or the response score, R_(i), specifies some rank or score that is relative to a specific topic (i.e., rather than an overall or generic score). This is useful when a node 102 may have a low average response rate, but the node's response rate for specific topics may be relatively high. Given a message, m, and a topic set, T={T_(k)}_(k=1) ^(t), one embodiment uses a probabilistic calculation for generating the message, m, from the topic T_(k), P(m|T_(k)). In another embodiment (e.g., where more training data is available), discriminative models for P(T_(k)|m) are used rather than generative models for P(m|T_(k)), for example, as described by Ng. et al. in “On Discriminative vs. Generative Classifiers: A Comparison of Logistic Regression and Naïve Bayes” (2001). In this case, given the expertise, E_(i)=P(T_(k)|N_(i)), of a node, N_(i), one may compute: P(m|E _(i))=Σ_(k) P(m|T _(k))E _(i)  (EQN. 1) Embodiments of methods for learning node profiles and their parameters are described in further detail below with respect to FIG. 2 (expertise measure, E_(i)) and FIG. 5 (referral rank, F_(i)).

In addition, the network 100 comprises at least one supernode 104. As will be described in further detail below, the supernode 104 is a special type of network node that performs one or more advanced functions. These functions include one or more of: learning the expertise of different people (nodes 102) in the network 100, performing topic- or socially-based routing of messages to relevant people (with a minimum number of network hops), detecting emerging communities of interest in the network 100 (i.e., nodes 102 with common interests) and performing targeted broadcasts of messages with relevant topics to these emerging communities. Thus, the supernode 104 may be thought of as an intermediary that manages message flow through the network 100 by routing messages (e.g., generated by one of the nodes 102) to the nodes 102 that are believed to be the most likely to respond to the message with correct or useful information. To this end, the supernode 104 maintains all necessary system components, including: (1) a database, D, for storing message streams; (2) node profiles (as described above); (3) the global set, T, of all possible topics (i.e., message subjects); and (4) several inverted indices for retrieving answers and node expertise.

In some embodiments, profile information may automatically be available for nodes in a social network. In other embodiments, however, it may be necessary to learn or infer at least initial profile distributions (i.e., of user preferences over the global topic set, T, of social groups a user interacts with, etc.) for the nodes. This is the so-called “cold start” problem. In such a case, these initial profile distributions may be inferred from multiple data sources, including World Wide Web pages, email, documents, organizational charts and the like. This information can also be learned by the supernode over time.

FIG. 2 is a flow diagram illustrating one embodiment of a method 200 for learning the expertise measures, E_(i), of nodes, N_(i), in a social network, according to the present invention. The method 200 may be implemented, for example, at a router or supernode (e.g., such as supernode 104 of FIG. 1) in a social network. The method 200 can also be used to learn additional features about users.

The method 200 is initialized at step 202 and proceeds to step 204, where the method 200 creates local topic models for each individual node. In one embodiment, the local topic models are created based on per-node topic distributions provided by the individual nodes. These distributions may be generated for each node, by creating a local topic model based on, for example, the sent box of a node's email program, for example using Latent Dirichlet Allocation (LDA), as described by Blei et al. in “Latent Dirichlet Allocation”, Journal of Machine Learning Research 3 (2003) 993-1022, the Author-Recipient-Topic (ART) model, as described by McCallum et al. in “The Author-Recipient-Topic Model for Topic and Role Discovery in Social Networks: Experiments with Enron and Academic Email”, University of Massachusetts Amherst, Technical Report UM-CS-2004-096 (2004) or other offline topic models. In one embodiment, a simpler scalable topic model like spherical KMeans (SPKMeans), such as described by Dhillon et al. in “Efficient Clustering of Very Large Document Collections”, Data Mining for Scientific and Engineering Applications, 357-381, Kluwer Academic Publishers (2001), is used to get the local topic model. In one embodiment, the distribution also accounts for at least one of: one or more other documents (e.g., text documents, slide shows, etc.) authored by the node, keywords in an existing node profile and data obtained from other online knowledge sources based on keyword searches (i.e., using keywords in an existing node profile). Thus, the information produced in step 204, for each node, N_(i), includes: (1) a set of local topics, L_(i) (where the j^(th) local topic, L_(ij), is a distribution over a set of local keywords); and (2) a probability distribution, P(L_(ij)|N_(i)) over the local topic set, L_(i). It will be noted that the supernode or router may generate this information; however, allowing the individual nodes to compute their respective topic distributions preserves the privacy of the documents used to create the topic distributions.

In step 206, the method 200 infers a global topic set, T, from each of the local topic sets L. In one embodiment, this is achieved by treating the j^(th) local topic, L_(ij), from node, N_(i), as a point in a distribution manifold over keywords. In one embodiment, information-theoretic probabilistic clustering, for example as described by Dhillon et al. in “Information Theoretic Clustering of Sparse Co-Occurrence Data”, Proceedings of the Third IEEE International Conference on Data Mining (ICDM-03), 517-521 (2003), is then performed on these local topics, L_(i). In another embodiment, constrained information-theoretic probabilistic clustering, for example as described by Basu et al. in “A Probabilistic Framework for Semi-Supervised Clustering”, Proceedings of the Tenth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD-2004), 59-68 (2004), is performed (where cannot-link constraints are added between topics of the same node, in order to prevent topics of a particular node from being clustered together due to uniqueness of a user's vocabulary). Each cluster centroid is then treated as a global topic, T_(k).

In step 208, the method 200 estimates a node's expertise measure, E_(i). In order to estimate the expertise measure, E_(i), the probability distribution P(T_(k)|N_(i)) over the global topics is obtained by: P(T _(k) |N _(i))=Σ_(L) _(ij) P(T _(k) |L _(ij) ,N _(i))P(L _(ij) |N _(i))  (EQN. 2) where P(T_(k)|L_(ij), N_(i)) can be obtained from the posterior probability of local topic L_(ij) being assigned to the centroid representing global topic T_(k) in the clustering, while P(L_(ij)|N_(i)) is obtained from the local topic model of the node, N_(i) (obtained according to the method mentioned above). Thus, the output of clustering step 208 is the set, T, of global topics and the probability distributions, P(T_(k)|N_(i)) for each node, N_(i), where the probability distribution P(T_(k)|N_(i))=E_(i) for the node, N_(i). The method 200 then terminates in step 210.

When a new node enters the network, the local topic model may be run at the new node to generate local topics, L_(i), which are then assimilated into the global topic set, T (e.g., by re-running the clustering or by assigning new topics to the closest existing clusters). Profiles for existing nodes may be left unchanged or may be adjusted according to social network weights where group preferences or data may affect individual profile information. The expertise measure, E_(i), for the new node is set in accordance with the output of the clustering algorithm, while the referral rank, F_(i), and response score, R_(i), are set to default values.

FIG. 3 is a flow diagram illustrating one embodiment of a method 300 for routing messages and learning communication patterns in a distributed network, according to the present invention. In one embodiment, the distributed network is a social network comprising a plurality of interconnected nodes (i.e., users). The method 300 thus may be implemented, for example, by a router or a supernode (e.g., such as the supernode 104 of FIG. 1) deployed within a social network.

The method 300 is initialized at step 302 and proceeds to step 304, where the method 300 receives a message, m₀, from a first node or from the system. In one embodiment, the message, m₀, is a query. The query may be explicit (e.g., “Has anyone seen an attack involving x, y events?”) or implicit (e.g., “I've observed x, y events occurring in association with attacks of type z”, where the implied query is, “Who would be interested in this information?”).

In step 306, the method 300 determines whether content exists (e.g., in the data repository (index and database), D, maintained by the supernode, with an individual or in an external resource) that is relevant to the received message, m₀ (e.g., whether the answer to the query is at hand). For example, the method 300 may search the repository, D, of previous message streams to see if a previous message stream corresponds to the received message, m₀ (e.g., addresses the same or a similar query). In one embodiment, the method 300 finds the p best-matching topics from the global topic set, T, for the current message stream segment m={m₀, m₁, . . . , m_(j)} (where m_(j) represents the j^(th) modification to the original message, m₀), calculated according to the probability score P(m|T_(k)). Keywords in the message stream are then augmented with keywords (suitably weighted by their corresponding probabilities) in the top p scoring topic distributions. Similarities are then computed between the current augmented message stream and the existing message streams in the repository. The answers corresponding to the stored message streams with the top match score are then selected as relevant content.

If the method 300 concludes in step 306 that relevant content does exist, the method 300 forwards the relevant content (e.g., the answer) to the message source (i.e., the asking node) in step 308. In step 310, the method 300 determines whether further information should be solicited or retrieved in response to the message (e.g., whether more information is needed to answer the query). In one embodiment, the method 300 determines that further content is needed if the message source does not accept an answer returned in step 308, or otherwise indicates that forwarding of the message, m₀, is desired.

If the method 300 concludes in step 310 that no further content is needed, the method 300 returns to step 304 and waits for receipt of the next message, which may be a new query.

Alternatively, if the method 300 concludes in step 310 that further content is needed, the method 300 proceeds to step 312 and identifies one or more other nodes in the network to which the query can be forwarded, i.e., in order to solicit an answer. In one embodiment, the other nodes to which the message, m₀, is forwarded are intentionally chosen (for example, in accordance with node profiles or with a forwarding address specified in the message, m₀) to increase the chances of receiving a relevant response to the message, m₀. That is, the method 300 selects or targets these other nodes based on knowledge of the nodes' respective expertise and/or likelihoods to respond to queries. It should be noted that if the method 300 concludes in step 306 that no content exists that is relevant to the received message, m₀, the method 300 proceeds directly to step 312.

In one embodiment, the method 300 selects the nodes to which the message, m₀, will be forwarded by computing a ranking score, S, for each node N_(i) in the network. In one embodiment, the ranking score, S_(i), of the i^(th) node is computed using a weighted linear combination of the i^(th) node's current referral rank, F_(i), the node's response score, R_(i), and the similarity between the topic distributions of the message, m₀, and the node's expertise measure, E_(i), calculated in accordance with EQN. 1. The nodes are then ranked in accordance with their respective ranking scores, S, and the top r nodes are selected for forwarding

Once nodes have been identified to whom the message, m₀, can be forwarded, the method 300 proceeds to step 314 and forwards the message, m₀, to the identified nodes. In step 316, the method 300 receives at least one response to the forwarded message, m₀. In one embodiment, a response comprises a proposed answer to the query (e.g., in the form of an answer message). In another embodiment, a response comprises an annotation or comment, m_(k), to the forwarded message (e.g., in the form of meta-content or tags). In the latter case, the responding node may not know the answer to the query, but may be able to provide information (e.g., topic labels, comments, names of individuals who may know the answer to the query, etc.) to help route the original message, m₀, more efficiently or to help locate more relevant information in the database, D. For example, a responding node may annotate a given message related to cancer with the meta-tag “oncology”, such that in the future, queries about both “cancer” and “oncology” are able to locate the associated message stream. In this case, modifications to the original message, m₀, are represented as m_(j), where m_(j) is the j^(th) modification made to the original message, m₀ (and a message stream, m, comprises {m₀, m₁, . . . , m_(j)}). In one embodiment, at least one received response originates at one of the nodes to which the original message, m₀, was forwarded in step 314. In another embodiment, at least one received response originates at a node who received the original message, m₀, from one of the nodes to which the original message, m₀, was forwarded in step 314 (i.e., the original message, m₀, was further forwarded by one or more of the receiving nodes).

In step 317, the method 300 forwards the response(s) received in step 316 to the message source.

In optional step 318 (illustrated in phantom), the method 300 forwards the message, m₀, and response(s) to at least one validation node. A validation node is a node whose expertise is solicited to determine whether a response is a “good” (e.g., accurate or helpful) response relative to the associated message or query. Thus, in one embodiment, validation nodes are specifically chosen or targeted based on their respective expertise and/or likelihood to respond (i.e., “which nodes will most likely be able to determine if this response is good?”). In one embodiment, the method 300 also solicits validation from the sender of the original message, m₀. In one embodiment, validation is solicited in the form of a ranking (e.g., “rate the answer on a scale from 1 to 5”). In another embodiment, validation is solicited in the form of a straightforward yes or no answer (e.g., “is the answer correct?”). In one embodiment, the message stream, s, corresponding to the query/answer pair (including all tags and meta-content annotations) are used to index the query/answer pair in the database, D.

In step 320 the method 300 determines whether the response has been validated by the validation nodes. In one embodiment, this determination is made by examining meta-content or tags provided by the validation nodes (i.e., where the meta-content specifies the quality of the responses).

If the method 300 concludes in step 320 that the response has been validated, the method 300 proceeds to step 322 and stores the query/response pair (e.g., in the database, D) for reuse against future queries. In one embodiment, the message/response pair is appended with the validation information and any tags or meta-content added to the original message, m₀. Thus, in this case, the method 300 stores the entire message stream, s, from the original message, m₀, through the last-made modification, m_(j).

In step 324, the method updates the node profile for any nodes involved in the routing and answering of the message, m₀. Specifically, the method 300 updates the expertise measure, E_(i), and the response score R_(i) for each node that participated in the message stream, m, that generated the response (e.g., nodes that answered and/or validated the query). In one embodiment, the method 300 updates the probabilities P(T_(k)|N_(i)) in the expertise measure, E_(i). For every message segment, m_(j), generated by a node, N_(i), in the message stream, m, the posterior probability P(T_(k)|N_(i), m_(j)) on observing the message, m, is calculated as: P(T _(k) |N _(i) ,m _(j))∝P(m _(j) |T _(k))·P(T _(k) |N _(i))  (EQN. 3) After renormalization, these posterior probabilities P(T_(k)|N_(i), m_(j)) constitute the updated expertise measure, E_(i), for each message segment, m_(j).

The method 300 updates the referral rank, F_(i), for nodes involved in the routing of the message stream, s (e.g., nodes that forwarded the query to the nodes that answered and/or validated the query). In one embodiment, the referral rank, F_(i), is updated using an algorithm similar to an incremental page rank algorithm commonly used by Internet search engines. The method 300 then proceeds to step 326 and sends an update message to the nodes involved in the routing and answering, so that these nodes may update their profiles locally.

In one embodiment, a node's profile may be negatively updated (i.e., one or more parameters may be decremented) if the response is not validated or is determined by the validation node(s) to be incorrect.

In step 328, the method 300 updates each topic T_(k), in the global set, T, of topics. In one embodiment, topics, T_(k), are updated by:

$\begin{matrix} {T_{k} = {T_{k} + {{P\left( s \middle| T_{k} \right)} \cdot \frac{s}{s}}}} & \left( {{EQN}.\mspace{14mu} 4} \right) \end{matrix}$ where s_(m) is the set of keywords in the message stream, s, that has just been answered. T_(k) is then renormalized to be a probability distribution. In this way, every topic, T_(k), is updated according to its probability of producing the message stream, s. In one embodiment, a Bayesian model is used to normalize topic updates (since each topic, T_(k), is a distribution over entries such as keywords). The method 300 then returns to step 304 and awaits the next message.

Alternatively, if the method 300 concludes in step 320 that the response has not been validated, the method 300 returns to step 304 and awaits a next message (e.g., a next response to the query). In one embodiment, the method 300 iterates until at least one correct or useful response (e.g., as assessed by one or more validation nodes) is returned to the query source.

Thus, the method 300 integrates query and content generation functions by soliciting responses to queries from other nodes (i.e., other than the requesting node) in the network. This integration provides at least two fundamental benefits. Firstly, if content relevant to a given query is not available (e.g., either globally or in a local cache), the method 300 supports a powerful, demand-driven mechanism for generating relevant content. Secondly, even if relevant content is available, the method 300 provides a mechanism for creating additional or improved indexing for this content, which makes the content easier to find by context-specific queries. By saving query/answer pairs (and their associated appendices), the method 300 is able, in substantially real time, to build a “map” of a network that identifies nodes having hub (i.e., knows which other nodes to which to route messages) and authority (i.e., has the expertise to answer messages) characteristics useful for routing of future messages.

The present invention therefore enables a social network to do different kinds of work, including question answering, observation routing, team formation (i.e., finding groups of nodes with particular associations to some query) and information validation/assessment. By integrating communications and search, the present invention supports a dynamically evolving search engine that both indexes and generates information at a high level of granularity. This is accomplished by tapping into the distributed expertise and actions of the underlying social network. The method 300 could therefore be used to generate a database of frequently asked questions (FAQs) or to generate anchor text for World Wide Web pages.

In one embodiment, the global topic set, T, is represented in inverted indices. In one embodiment, there are two indices: (1) a first index, I₁, for mapping keywords, w, to topics, T; and (2) a second index, I₂, for mapping topics, T, to nodes, N. In this way, when a new message, m, is generated in the network, the first index, takes the message, m, as input and outputs a vector of weighted topics, t, relevant to the message, m. The second index, I₂, then takes the vector of weighted topics, t, as input and outputs a weighted vector of relevant nodes. These relevant nodes may then be ranked in accordance with their relevance to the message, m₀. The use of the inverted indices I₁ and I₂ allows the methods of the present invention to be scaled to accommodate larger numbers of nodes and larger global topic sets.

FIG. 4 is a flow diagram illustrating one embodiment of a method 400 for processing a message, according to the present invention. The method 400 may be implemented, for example, at a node in a social network.

The method 400 is initialized at step 402 and proceeds to step 404, where the method 400 receives a message (e.g., from a router or from another node or supernode). In one embodiment, the message includes a query (either explicit or implicit). In another embodiment, the message is a solicitation to validate an answer provided by another node in response to a query.

In step 406, the method 400 determines whether to respond to the message (e.g., with an answer to a query or with validation feedback). If the method concludes in step 406 that a response should be sent, the method 400 sends a response in step 408. A tag of the response is set to “answer” to indicate that it is a response to the message received in step 404. The method 400 then proceeds to step 410 and determines whether to forward the received message (e.g., to another node that is believed capable of responding to the message or capable of forwarding the message to another node that can respond). Alternatively, if the method 400 concludes in step 406 that a response should not be sent, the method 400 proceeds directly to step 410.

If the method 400 concludes in step 410 that the message should be forwarded, the method forwards the message to one or more other nodes in step 412. Additionally, a tag of the message is set to “forward” to indicate that the message is being forwarded. In one embodiment, the tag indicates “forward to forward” (i.e., forward to another node who may be able to forward the message to a node who can respond). In another embodiment, the tag indicates “forward to answer” (i.e., forward to another node who may be able to respond to the message).

The method 400 then proceeds to step 414 and determines whether the message should be tagged with a comment. In one embodiment, a comment is neither an answer nor a forwarding suggestion, but may help in characterizing the message for more efficient routing in the network (e.g., by suggesting alternate keywords, topics, etc.). In another embodiment, the comment may solicit clarification of the message received in step 404. In another embodiment still, the comment may simply indicate that the commenting node is interested in future replies to the message. Alternatively, if the method 400 concludes in step 410 that the message should not be forwarded, the method 400 proceeds directly to step 414.

If the method 400 concludes in step 416 that the message should be tagged with a comment, the method 400 proceeds to step 416 and tags the message with the comment before terminating in step 420. Thus, the tag of the message is set to “comment” to indicate that another node has commented on the message.

Alternatively, if the method 400 concludes in step 414 that the message should not be tagged, the method 400 proceeds to step 418 and ignores (i.e., discards) the message before terminating in step 420. In this case, a tag of the message is set to “ignore” to indicate that the node is taking no action with respect to the message.

In this manner, the method 400 allows a node to provide valuable feedback (i.e., in the form of messages and meta-content) that enables a router or supernode to learn (by watching and recording) the node's expertise, preferences, and likelihood to respond to messages over subsequent iterations. This information may then be used to route messages more efficiently in the future. As discussed above, the action or actions that are taken in accordance with the method 400 will impact a node's profile in the network. For example, if the node chooses to ignore a message, the node's expertise measure, E_(i), referral rank, F_(i), and response score, R_(i), may be decremented, at least with regard to the topic that is the subject of the message (i.e., this node is not the node to whom to direct queries dealing with this topic). If the node responds with an answer that is validated, the node's expertise measure, E_(i), referral rank, F_(i), and response score, R_(i), may be incremented, at least with regard to the topic that is the subject of the message (i.e., this node is a good node to whom to direct queries dealing with this topic). If the node forwards the message to a node who later responds with a validated answer, the forwarding node's referral rank, F_(i), and response score, R_(i) may be incremented (i.e., this node knows someone who is a good node to whom to direct queries dealing with this topic).

FIG. 5 is a flow diagram illustrating one embodiment of a method 500 for determining a first node's referral rank, F_(i), according to the present invention. The first node's referral rank, F_(i), may change dynamically based on the affinity of other nodes to refer messages to the first node. Thus, the method 500 may be executed (for example, by a router or supernode) over time as messages are forwarded and tagged in the network.

The method 502 is initialized at step 502 and proceeds to step 504, where the method 500 identifies all nodes in the network that refer to the first node. That is, the method 500 identifies all referral links to the first node. For example, referring to FIG. 6, which is a schematic diagram illustrating an exemplary network 600, links 604 ₁ and 604 ₂ comprise referral links to node 602 ₂ (from, respectively, node 602 ₁ and node 602 ₈).

Once all referral links to the first node have been identified, the method 500 proceeds to step 506 and calculates a link weight, λ, for each link. The link weight, λ, defines a relative affinity of a referring node to refer messages to the first node. For example, referring again to FIG. 6, one of the nodes that refers messages to node 602 ₂ is node 602 ₁. Node 602 ₁ also refers messages to node 602 ₃ (via referral link 604 _(n)). However, node 602 ₁ may not necessarily refer messages to node 602 ₃ as often as node 602 ₁ refers messages to node 602 ₂. The link weights λ₁ and λ_(n) reflect the relative likelihood of the referring node (i.e., node 602 ₁) to refer messages to nodes 602 ₂ and 602 ₃ (for example, node 602 ₁ may refer messages to node 602 ₂ sixty percent of the time and to node 602 ₃ forty percent of the time).

In step 508, the method 500 calculates the referral rank, F_(i), of the first node, N_(i), in accordance with the link weights. In one embodiment, the referral rank, F_(i), is calculated as the sum of the referral ranks of referring nodes weighted by the corresponding link weights associated with the first node. Thus, in FIG. 6, the referral rank, F_(i), of node 602 ₂ would be the weighted sum of the referral ranks from 604 ₁ and 604 ₂ (e.g., λ₁*F1+λ₂*F2). This process is iteratively repeated until the referral ranks converge. The method 500 then terminates in step 510.

The response score, Ri, of a node also is likely to change dynamically over time, as the node responds to messages. As described above, the response score may account not just for the frequency with which a node responds, but also for the accuracy of the responses (e.g., as assessed by validating nodes). Thus, in one embodiment, the response score, R_(i), of a node at any given time is calculated as:

$\begin{matrix} \frac{{number}\mspace{14mu}{of}\mspace{14mu}{correct}\mspace{14mu}{responses}\mspace{14mu}{by}\mspace{14mu}{the}\mspace{14mu}{node}}{\begin{matrix} {{number}\mspace{14mu}{of}\mspace{14mu}{total}\mspace{14mu}{requests}\mspace{14mu}{from}} \\ {{other}\mspace{14mu}{nodes}\mspace{14mu}{including}\mspace{14mu}{super}\mspace{14mu}{node}} \end{matrix}} & \left( {{EQN}.\mspace{14mu} 5} \right) \end{matrix}$

FIG. 7 is a high level block diagram of the message routing method that is implemented using a general purpose computing device 700. In one embodiment, a general purpose computing device 700 comprises a processor 702, a memory 704, a message routing module 705 and various input/output (I/O) devices 706 such as a display, a keyboard, a mouse, a modem, and the like. In one embodiment, at least one I/O device is a storage device (e.g., a disk drive, an optical disk drive, a floppy disk drive). It should be understood that the message routing module 705 can be implemented as a physical device or subsystem that is coupled to a processor through a communication channel.

Alternatively, the message routing module 705 can be represented by one or more software applications (or even a combination of software and hardware, e.g., using Application Specific Integrated Circuits (ASIC), Field Programmable Gate Arrays (FPGAs) or Digital Signal Processors (DSPs)), where the software is loaded from a storage medium (e.g., I/O devices 706) and operated by the processor 702 in the memory 704 of the general purpose computing device 700. Thus, in one embodiment, the message routing module 705 for performing targeted routing of messages described herein with reference to the preceding Figures can be stored on a computer readable medium or carrier (e.g., RAM, magnetic or optical drive or diskette, and the like).

Although described herein within the context of a socially-mediated content generation and routing application, the methods of the present invention also have application in fields including medical advice, online tutoring, help-desk applications (e.g., within an enterprise) and collaborative problem-solving (e.g., for large-scale scientific research efforts), among others.

Thus, the present invention represents a significant advancement in the field of distributed networks. Embodiments of the invention learn, and then exploit, patterns of communication (e.g., as expressed in linkages and message contents) in an underlying social network in order to improve searching capabilities within the network. Moreover, the present invention provides a means of validating the answers generated in response to a query posed within a social network.

While various embodiments have been described above, it should be understood that they have been presented by way of example only, and not limitation. Thus, the breadth and scope of a preferred embodiment should not be limited by any of the above-described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents. 

What is claimed is:
 1. A method for routing a query within a social network, the method performed by a computer processor and comprising: algorithmically deriving, by the processor, for each node of a plurality of nodes in the social network, a metric representing expertise of the node to respond to queries; receiving the query; directing the query to one or more of the plurality of nodes in the social network; receiving a tagged version of the query from at least one of the one or more of the plurality of nodes, the tagged version comprising meta-content that was added by one or more of the plurality of nodes; algorithmically identifying, by the processor, one or more candidate nodes to whom to further direct the query, based at least in part on the metric representing expertise derived for each of the one or more candidate nodes and based at least in part on the meta-content in the tagged version of the query; directing the query to the candidate nodes.
 2. The method of claim 1, wherein the meta-content includes a suggestion of a specific node in the plurality of nodes to whom to direct the query.
 3. The method of claim 1, wherein the meta-content includes a topic label related to content of the query.
 4. The method of claim 1, wherein the meta-content includes a keyword related to content of the query.
 5. The method of claim 1, wherein the meta-content includes a solicitation for clarification of the query.
 6. The method of claim 1, wherein the meta-content indicates that the at least one of the one or more of the plurality of nodes is interested in future responses to the query.
 7. The method of claim 1, further comprising: storing meta-content with the query.
 8. The method of claim 1, further comprising: updating the metric representing expertise for the at least one of the one or more of the plurality of nodes.
 9. The method of claim 1, wherein the meta-content is added by the at least one of the one or more of the plurality of nodes from whom the tagged version is received.
 10. The method of claim 1, wherein the meta-content is added by a node to whom the query was forwarded by one or more others of the plurality of nodes.
 11. A method for responding to queries for use with a social network, the method performed by a computer processor and comprising: algorithmically deriving, by the processor, for each node of a plurality of nodes in the social network, a metric representing expertise of the node to respond to queries; receiving a first query; algorithmically identifying, by the processor, one or more candidate nodes to whom to direct the first query, from among the plurality of nodes, based at least in part on the metric representing expertise for each of the candidate nodes; directing the first query to the candidate nodes; receiving a response to the first query from at least one of the candidate nodes; storing the first query and the response in a database; receiving a second query; determining that the second query meets a threshold of similarity to a stored query stored in the database; and responding to the second query based on a response stored with the stored query.
 12. The method of claim 11, wherein at least one of the second query and the stored query includes meta-content added by one of the plurality of nodes.
 13. The method of claim 12, wherein said determining that the threshold of similarity is met takes into account the meta-content.
 14. The method of claim 13, wherein the meta-content includes a topic label related to content of the second query or the stored query.
 15. The method of claim 13, wherein the meta-content includes a keyword related to content of the query.
 16. The method of claim 11, further comprising: validating the response, prior to the storing.
 17. The method of claim 16, wherein the validating comprises: forwarding the first query and the response to one or more validation nodes selected from among the plurality of nodes.
 18. The method of claim 17, wherein the validating further comprises: examining meta-content added by at least one of the one or more validation nodes, wherein the meta-content specifies a quality of the response.
 19. A method for routing a message within a social network, the method performed by a computer processor and comprising: algorithmically deriving, by the processor, for each node of a plurality of nodes in the social network, a first metric representing expertise of the node regarding each of one or more topics, wherein the first metric is based at least partly on an algorithmically-generated topic model of content that is at least one of: authored by the node or read by the node; algorithmically deriving, by the processor, for each node of the plurality of nodes, a second metric, based on at least one of: (i) an affinity of one or more other nodes in the social network to refer messages to the node or (ii) a likelihood of a human user of the node to respond to messages; receiving a message; determining a relevant topic to which the message relates; algorithmically identifying, by the processor, one or more candidate nodes in the social network to whom to direct the message, based at least in part on the first metric derived for each of the candidate nodes with respect to the relevant topic, and based at least in part on the second metric derived for each of the candidate nodes; directing the message to the candidate nodes; and updating the first metric, at least with respect to the relevant topic, for one or more of the candidate nodes based on a response provided by the one or more of the candidate nodes to the message. 